<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="MSThemeCompatible" content="no" />
<title>修改Reviews</title>
<link href="_{$adminbase}styles/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="_{$adminbase}scripts/ckeditor/ckeditor.js"></script>
<script src="_{$adminbase}scripts/ckeditor/sample.js" type="text/javascript"></script>

<script src="_{$adminbase}scripts/jquery.js" type="text/javascript"></script>
<script src="_{$adminbase}scripts/documentation.js" type="text/javascript"></script>
<script src="_{$adminbase}scripts/jquery.MetaData.js" type="text/javascript" language="javascript"></script>
 <script src="_{$adminbase}scripts/jquery.MultiFile.js" type="text/javascript" language="javascript"></script>


<body>
<div id="main">
<div class="xs_tl"> 
<div class="l"></div>
<div class="r"></div>
<div class="hackbox"></div>
</div>
<div>
</div>
_{if $errmsg!=''}
<div class="info">
_{$errmsg}
</div>
_{/if}
<div class="boxer">
<div id="OP_ListMaster">
<div class="header_1">修改反馈</div>
<div class="line_1"></div>
<form action="?action=reviews-edit" method="post" enctype="multipart/form-data">
<input type="text" value="你正在修改第_{$id}个tour的反馈" disabled size="50">
<input type="hidden" value="_{$reviews_details.rid}" name="rid">
	客户名(Client Realname):<input type="text" name="reviews_name" id="reviews_name" value="_{$reviews_details.reviews_name}" size="30" />
	<hr>
		<p>反馈图片 <input type="file" name="pic[]" class="multi" accept="gif|jpg|png"
					   _{if $reviews_details.reviews_pic[1]!=''}
					   disabled
					   _{else if $reviews_details.reviews_pic[1]=='' && $reviews_details.reviews_pic[0]!=''}
					   maxlength=1
					   _{/if}
					   _{if $reviews_details.reviews_pic[0]==''}
					   maxlength=2
					   _{/if}
				 >
		_{section name=pic loop= $reviews_details.reviews_pic}
			_{if  $reviews_details.reviews_pic[pic]!=''}
		<a class="MultiFile-remove" href="?action=reviews-pic-del&pic=_{$reviews_details.reviews_pic[pic]}">Server del</a><span class="MultiFile-title">_{$reviews_details.reviews_pic[pic]}</span><br>
			_{/if}
		_{/section}
		<hr>
			<p>
				<label for="itinerary">
					反馈内容(Content):</label><br/>
				<textarea class="ckeditor" cols="80" id="reviews_content" name="reviews_content" rows="10">_{$reviews_details.reviews_content}</textarea>
				<script type="text/javascript">
				CKEDITOR.replace( 'reviews_content', {
         // filebrowserBrowseUrl : 'admin.php?action=browse',
        //filebrowserImageBrowseUrl : '/browser/browse.php?type=Images',
        filebrowserUploadUrl : 'admin.php?action=upload',
        //filebrowserImageUploadUrl : '/uploader/upload.php?type=Images',
		filebrowserWindowWidth : '300',
        filebrowserWindowHeight : '480'
}); 

				</script>
			</p>
			<p>
				<input type="submit" value="提交(Submit)" /> 操作员:_{ if $smarty.session.kona_admin!=''}_{$smarty.session.kona_admin}_{else}_{$smarty.session.OT_admin}_{/if}
			</p>
		</form>
</div>
</div>
<div class="xs_bl">
<div class="l"></div>
<div class="r"></div>
<div class="hackbox"></div>
</div>
</div>
</body>
</html>